MORE NBT DOCUMENTATION
Version: 1.4.0

Index

Other Tags
moreNBT
debugLog
durability
damage_tool
animation (WIP)
throwable
shooter (WIP)
Inventory (WIP)
create_block (planned)
Back to top

Other Item Tags

These tags are used directly inside the items nbt example '/give @p paper{moreNBT:{nbt_format:1}}'


Parameters

Name Type Default Value Description
moreNBT Object This tag is required for all items that use More NBT Tags Datapack. Get the latest format in-game by doing '/function more_nbt:get_current_nbt_format'.
Name Type Description
nbt_format Integer The format of More NBT Datapack Tags.
debugLog Boolean FALSE If true it will give an output log via game chat.
durability Object Custom durability for this item. Note that 'display' and 'custom_display' are a bit buggy aka doesnt properly display percentage.
Name Type Description
max_durability Integer The max amount of damage the item has.
display Enum / Object How to display the damage, leave blank to not show. Valid Strings: "actionbarText", "actionbarBar", "actionbarPercent","title"
Name Type Description
type Enum The type of display to use. Valid Strings: "bossbar", "custom", "customDurability", "actionbarBar"
value RAW JSON type=custom This is the exact text to use for the actionbar.
type=customDurability This is the text to apply after the current and max amounts.
type=bossbar, name=custom This is the exact text to use for the bossbar.
type=bossbar, name=customDurability This is the text to apply after the current and max amounts.
color Enum type=bossbar This the the color of the bossbar. Excepted values; default, blue, green, pink, purple, red, white, yellow
name Enum type=bossbar This the the name of the bossbar. Excepted values; none, default, customDurability, durability, percent, custom
color_theme Enum / Object type=actionbarBar This the the color of the actionbarBar. It is recomended to use the preset themes as using the 'progress', and 'background' can cause TPS to slow down. Preset themes; aqua, blue, gray, green, purple, red, yellow, white
Custom Colored Themes; orange, brown, cyan, pink
Name Type Description
progress Enum The color of the progress bar. Excepted values; aqua, blue, gray, green, purple, red, yellow, white
background Enum The color of the background. Excepted values; aqua, blue, gray, green, purple, red, yellow, white
custom_display Object Add custom display text for durability.
Name Type Description
location Enum Where to display the text. Valid Strings: "actionbar"
values RAW JSON Array An array of Raw JSON formatted text to show at that value in 10% increments. [0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%]
damage_tool Object Will deal damage to the tool when used. Only on minecraft:carrot_on_a_stick
Name Type Description
remove Integer How much damage to remove from the tool
break_sound Boolean Use the break sound then the item has been consumed/broken. (May add more customizeabiliy to this. ie add custom sound.)
disappears Boolean Make the item disappear/turn into air when broken. (May add more customizeabiliy to this. ie make it turn into a diffrent item.)
animation (W.I.P) Object Animated customModelData when held.
Name Type Description
looping Boolean Make the animation run year round.
run Integer The amount of times to run the animation. only if looping=false
frametime Integer The speed that it will flip through the models.
frames Integer Array The CustomModelData integer to apply at that frame.
play_frame_slot Enum What slot to play the animation Valid: "weapon.mainhand","weapon.offhand","inventory","all"
throwable Object Throwable item component. Throwable items, such as a snowball.
Name Type Description
ammunition Object Throwable item component. Throwable items, such as a snowball.
Name Type Description
entity String The item/entity to throw.
physics Boolean If entity is a projectile it will bounce off the wall if true. acts funky with some entities.
nbt Array (Optional) nbt that the entity has.
shooter (W.I.P) Object (Not added) Similar to 'throwable' but acts more like a bow
Name Type Description
max_draw_duration Integer Draw Duration.
max_launch_power Integer Launch power.
ammunition Object Throwable item component. Throwable items, such as a arrow.
Name Type Description
entity String The item/entity to throw.
nbt Array (Optional) nbt that the entity has.
Inventory (W.I.P) Object Inventory to store items and save them.
Name Type Description
can_be_siphoned_from Boolean Can hoppers suck items out of this inventory.
inventory_size Integer (Not Functional) How many slots the inventory will have. default: 26
inventory_name RAW JSON The text to display inside the container/inventory. Excepts Raw JSON.
inventory_layout Enum Array (Not Functional) How to layout the slots. Valid Strings: "inline","center=top","center=bottom","center=middle"
inventory_type Enum The preset inventory to use. Valid Strings: "chest","hopper"
display_block Object Display a diffrent block inside the minecart.
Name Type Description
Name String The name and id of the block
BlockStates object If the block has optional blockstates you can place them here.
auto_save String Where to save the containers items to.
Name Type Description
storage Enum storage="item" it will save the containers items onto the selecteditem.
save_fillers Boolean (Not Functional) When false it will attemt to not save the UI items.
visable Boolean Show the items via lore when the container isnt open, like shulker boxes.
filter Object (Not Functional) white/blacklisted items that are allowed in the slots.
Name Type Description
whitelist String Array Items that are allowed.
blacklist String Array Items that are not allowed.
create_block (W.I.P) Object (Not added) This will place a custom block. Only works for minecraft:armor_stand
Name Type Description
material String The minecraft block to use. This will be overridden if custom_ui has been selected
drops_self Boolean Will give you the same item back
CustomModelData Integer (Optional) Alternate CustomModelData for the block item.
custom_ui Object (Not Functional) This will create a custom UI inside the placed block. Will be formatted similar to 'new_ui' tag.
Name Type Description
button Object A item inside the Inventory that will do stuff when you click on it.
Name Type Description
type String Valid Strings: "toggle","button"
Slot Integer Where to place the button.
use ? ?
filler Object Array Places a fake item that looks like the background.
Back to top